package com.zhiche.lisa.tms.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单各类地址信息
 * </p>
 *
 * @author qichao
 * @since 2018-06-18
 */
public class OmsOrderLocation implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@JsonSerialize(using=ToStringSerializer.class)
	private Long id;
    /**
     * 订单ID
     */
	private Long orderId;
    /**
     * 提货点编码
     */
	private Long ladingLocationId;
    /**
     * 发货点编码
     */
	private Long shippingLocationId;
    /**
     * 交货点编码
     */
	private Long deliveryLocationId;
    /**
     * 创建时间
     */
	private Date gmtCreate;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getLadingLocationId() {
		return ladingLocationId;
	}

	public void setLadingLocationId(Long ladingLocationId) {
		this.ladingLocationId = ladingLocationId;
	}

	public Long getShippingLocationId() {
		return shippingLocationId;
	}

	public void setShippingLocationId(Long shippingLocationId) {
		this.shippingLocationId = shippingLocationId;
	}

	public Long getDeliveryLocationId() {
		return deliveryLocationId;
	}

	public void setDeliveryLocationId(Long deliveryLocationId) {
		this.deliveryLocationId = deliveryLocationId;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	@Override
	public String toString() {
		return "OmsOrderLocation{" +
			", id=" + id +
			", orderId=" + orderId +
			", ladingLocationId=" + ladingLocationId +
			", shippingLocationId=" + shippingLocationId +
			", deliveryLocationId=" + deliveryLocationId +
			", gmtCreate=" + gmtCreate +
			"}";
	}
}
